package com.dobbinsoft.iotechn.data.logger;

/**
 * Created with IntelliJ IDEA.
 * Description: 日志接口
 * User: rize
 * Date: 2020/3/20
 * Time: 15:44
 */
public interface Logger {

    void debug(String log);

    void info(String log);

    void warn(String log);

    void error(String log);

    void error(String log, Throwable t);

    /**
     * 分布式log,聚合在一个地方
     * @param log
     */
    void infoAggregation(String log);

    void errorAggregation(String log);

    void errorAggregation(String log, Throwable t);

}
